package com.flnet.spsys.controller;

import com.flnet.spsys.entity.User;
import com.flnet.spsys.service.UserService;
import com.flnet.spsys.utils.Md5Util;
import com.flnet.spsys.utils.ResultJson;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 
 */
@Api(tags = "测试")
@RestController
@RequestMapping("/")
@CrossOrigin
public class RootController {

    private static final Logger logger = LoggerFactory.getLogger(RootController.class);

    @ResponseBody
    @GetMapping(value = "/")
    @CrossOrigin
    public Object root() {
        return ResultJson.success(null);
    }
}
